alert(typeof 3);//number
alert(typeof 3.14);//number

alert(typeof "A");String
alert(typeof 'hello');//string

alert(typeof true);//boolean

alert(typeof null);//object

var a;
alert(typeof a);//undefine